package com.sxfq.loansupermarket.backsystem.modular.guestDimension.service;

import com.sxfq.loansupermarket.backsystem.modular.IntegralMall.entity.MembersUser;
import com.sxfq.loansupermarket.backsystem.modular.guestDimension.entity.GuestDimensionInfo;

import java.util.List;

/**
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IGuestDimensionService {
    int insertWxChatRecord(GuestDimensionInfo guestDimensionInfo) throws Exception;

    List<GuestDimensionInfo> queryChatRecordBySender(String sender);

    List<GuestDimensionInfo> fuzzyQuery(String sender);

    List<GuestDimensionInfo> queryChatRecordByReceiver(String receiver);

    List<GuestDimensionInfo> queryChatRecordBySendTime(String startSenderTime,String endSenderTime);

    List<GuestDimensionInfo> querySenderList();
 
    MembersUser getWxUserInfo(String openId);
}